package edu.zju.gis.cky.entity.po;

import lombok.Getter;
import lombok.Setter;

/**
 * @author jiarui
 * @version 1.0, 2022-01-10
 */
@Getter
@Setter
public class FlowGeomPO {
    private String fid;
    private String dlmcFrom;
    private String dlmcTo;
    private String dlbmFrom;
    private String dlbmTo;
    private String xzqhFrom;
    private String xzqhTo;
    private double area;
    private String WKT;
    private String geom;


    @Override
    public String toString() {
        return this.getFid() + "\t" +
                this.getDlbmFrom() + "\t" +
                this.getDlbmTo() + "\t" +
                this.getDlmcFrom() + "\t" +
                this.getDlmcTo() + "\t" +
                this.getXzqhFrom() + "\t" +
                this.getXzqhTo() + "\t" +
                this.getArea() + "\t" +
                this.getWKT() + "\t";
    }

    public String getTypeSpec(){
        return "dlbmFrom,dlbmTo,dlmcFrom,dlmcTo,xzqhFrom,xzqhTo,area";
    }
}
